<template>
  <addApprove :id="id" :proInsId="proInsId"></addApprove>
</template>

<script setup name="editApprove">
import addApprove from '@/views/rsgl/downloadApprove'
import { useRoute } from 'vue-router'
import { fileApplyGet } from '@/api/fileManage'
const router = useRoute()
const id = ref('')
const proInsId = ref('')
watch(
  () => router,
  val => {
    console.log(router.query, 'router')
    if (val) {
      console.log(router.query)
      id.value = router.query.id
      proInsId.value = router.query.proInsId
    }
  }
)
</script>

<style scoped lang="scss"></style>
